-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update docs to reflect ViewRegistry removal: #992
Conversation
@@ -9,13 +9,17 @@ struct ___VARIABLE_productName___Screen: Screen { | |||
|
|||
// It should also contain callbacks for any UI events, for example: | |||
// var onButtonTapped: () -> Void | |||
|
|||
var viewControllerDescription: ViewControllerDescription { | |||
return ___VARIABLE_productName___ViewController.description(for: self) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's ___VARIABLE_productName___ViewController
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for the Xcode templates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh cool!
@@ -9,13 +9,17 @@ struct ___VARIABLE_productName___Screen: Screen { | |||
|
|||
// It should also contain callbacks for any UI events, for example: | |||
// var onButtonTapped: () -> Void | |||
|
|||
var viewControllerDescription: ViewControllerDescription { | |||
return ___VARIABLE_productName___ViewController.description(for: self) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for the Xcode templates
An initial pass to remove all mentions of
ViewRegistry
. We will be doing another pass to documentViewControllerDescription
with additional examples. That's tracked in square/workflow-swift#136